<template>
  <div class="home_div">
    <div class="map_title">
        <h3>JSAPI Vue2地图组件示例</h3>
    </div>
    <div id="container"></div>
</div>
</template>

<script>
import AMapLoader from '@amap/amap-jsapi-loader'
export default {
  name: 'HotelSystemMap',

  data () {
    return {

    }
  },

  mounted () {

  },

  methods: {

  }
}
</script>

<style lang="less" scoped>
.home_div {
  padding: 0px;
  margin: 0px;
  width: 100%;
  height: 100%;
  position: relative;
}

#container {
  padding: 0px;
  margin: 0px;
  width: 100%;
  height: 100%;
  position: absolute;
}

.map_title {
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 50px;
  background-color: rgba(27, 25, 27, 0.884);

}

h3 {
  position: absolute;
  left: 10px;
  z-index: 2;
  color: white;
}
</style>
